# $Id: PKGBUILD 64677 2012-02-17 18:26:44Z bluewind $
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=stress
pkgver=1.0.4
pkgrel=3
pkgdesc="A tool that stress tests your system (CPU, memory, I/O, disks)"
arch=('i686' 'x86_64')
url="http://weather.ou.edu/~apw/projects/stress/"
license=('GPL')
options=('!emptydirs')
source=(http://weather.ou.edu/~apw/projects/stress/${pkgname}-${pkgver}.tar.gz)
md5sums=('a607afa695a511765b40993a64c6e2f4')

build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    ./configure --prefix=/usr --mandir=/usr/share/man
    make
}

package() {
    cd ${srcdir}/${pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install
}
